package inseniarlingua.lang.en;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

class NounENFactoryTest {
	NounENFactory cut;

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
		cut = new NounENFactory()
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testGetNoun() {
		NounEN noun = cut.getNoun("hat")
		assertEquals('hat', noun.singular)
		assertEquals('hats', noun.plural)
	}
	
	@Test
	public void testGetNounFoot() {
		NounEN noun = cut.getNoun("foot")
		assertEquals('foot', noun.singular)
		assertEquals('feet', noun.plural)
	}

}
